home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Invisible Universe
/
Invisible Universe (1995)(Voyager)[Mac-PC].iso
/
mac
/
MOVIES
/
MOVIES.DIR
/
00057_Script_bt
< prev
next >
Wrap
Text File
|
1995-11-15
|
1KB
|
40 lines
-- parent script
-- button trios
property myChannel, myNormal, myRollover, myPressed, myScript, myOriginal
on birth me,sp, no, ro, pr,sc
set myRollover to (the number of cast ro)
set myPressed to (the number of cast pr)
set myNormal to (the number of cast no)
set myOriginal to (the number of cast no)
set myChannel to integer(sp)
set myScript to sc
return me
end
on rollo me
--if the castNum of sprite myChannel = myRollover then exit
puppetSprite myChannel,TRUE
set the castNum of sprite myChannel to myRollover
updateStage
--puppetSprite myChannel, false
end
on press me
--if the castNum of sprite myChannel = myPressed then exit
puppetSprite myChannel,TRUE
set the castNum of sprite myChannel to myPressed
updateStage
puppetSprite myChannel, false
end
on norm me
--if the castNum of sprite myChannel = myNormal then exit
puppetSprite myChannel,TRUE
set the castNum of sprite myChannel to myNormal
updateStage
puppetSprite myChannel, false
end
on doScript me
do myScript
end